package com.settlement.system.service;

import com.settlement.system.model.entity.SysVoucherItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysVoucherItemQuery;
import com.settlement.system.model.form.SysVoucherItemForm;
import com.settlement.system.model.vo.SysVoucherItemImportVo;
import java.util.List;

/**
 * <p>
 * 凭证明细表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2024-08-26
 */
public interface SysVoucherItemService extends IService<SysVoucherItem> {

    Page<SysVoucherItem> getPage(SysVoucherItemQuery queryParams);

    boolean saveSysVoucherItem(SysVoucherItemForm sysVoucherItemForm);

    SysVoucherItemForm getSysVoucherItemFormData(Long id);

    boolean deleteSysVoucherItem(String ids);

    void importData(List<SysVoucherItemImportVo> importVos);

    List<SysVoucherItemImportVo> findByIds(String idsStr);

    List<SysVoucherItem> getItemList(Long voucherId);
}
